#include"../Common/logger.hpp"
#include<gflags/gflags.h>
DEFINE_bool(log_mod,false,"true为发布模式,false为调试模式");
DEFINE_string(log_file,"","发布模式下日志存储的文件");
DEFINE_int32(log_level,0,"要输出的日志等级");
int main(int argc,char* argv[])
{
    google::ParseCommandLineFlags(&argc,&argv,true);
    init_logger(1,"logger.log",spdlog::level::level_enum::err);
    LOG_TRACE("你好{}","zzy");
    LOG_DEBUG("你好{}","zzy");
    LOG_WARN("你好{}","zzy");
    LOG_ERROR("你好{}","zzy");
    LOG_CRITICAL("你好{}","zzy");
    return 0;
}